package com.example.demo.day.config.learn.designBook.firstDay.fixedLoD;

import org.apache.poi.ss.formula.functions.T;

import java.util.ArrayList;
import java.util.List;

public class Client {

    public static void main(String[] args) {

        List<Girl> girlList = new ArrayList<>();
        for (int i = 0; i < 50; i++) {
            girlList.add(new Girl());
        }
        Teacher teacher = new Teacher();
        GroupLeader groupLeader = new GroupLeader();
        groupLeader.setGirlList(girlList);
        teacher.command(groupLeader);
    }
}
